<%@ page import="org.apache.commons.lang.StringUtils"%>
<%@ page language="java" import="java.util.*, com.mstore.pojo.User"
	pageEncoding="UTF-8"%>
<%
	Object object = request.getSession().getAttribute("user");
	User user = null;
	String logName = "";
	if (object != null) {
		user = (User) object;
		if (StringUtils.isNotBlank(user.getUserName())) {
			logName = user.getUserName();
		} else if (StringUtils.isNotBlank(user.getMobile())){
			logName = user.getMobile();
		}
	}
%>
<div class="navbar navbar-default" id="navbar">
	<div class="navbar-container" id="navbar-container">
		<div class="navbar-header pull-left">
			<div class="navbar-brand">
				<small>MICRM系统分店管理平台</small>
			</div>
			<!-- /.brand -->
		</div>
		<!-- /.navbar-header -->
		<div class="navbar-header pull-right" role="navigation">
			<ul class="nav ace-nav">
				<li class="light-blue"><a data-toggle="dropdown" href="#"
					class="dropdown-toggle"> <img class="nav-user-photo"
						src="assets/avatars/logo.jpg" alt="admin's Photo" /> <span
						class="user-info"> <small>欢迎,</small> <%=logName %> </span> <i
						class="icon-caret-down"></i> </a>
					<ul
						class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
						<li><a href="muser!selectUserMessage"><i class="icon-edit"></i>分店信息修改</a>
						<li><a href="muser!gotoUpdateUserPsw"><i class="icon-edit"></i>分店密码修改</a>
						<li><a href="member!logout"><i class="icon-off"></i>退出</a>
						</li>
					</ul></li>
			</ul>
			<!-- /.ace-nav -->
		</div>
		<!-- /.navbar-header -->
	</div>
	<!-- /.container -->
</div>
